<!-- 单选 -->
<div *ngIf="foodItem.type == '1'" class="standard-radio">

  <header>
    <div class="left">
      {{foodItem.name}}
    </div>
    <div class="right" (click)="close()">
      <i class="fa fa-times-circle" style="font-size: 1.4em"></i>
    </div>
  </header>
  <div class="name">单选：</div>
  <section>
    <div class="item" *ngFor="let v of foodItem.transformJson.list; let inx = index;" [ngClass]="{'active': inx == radioStructure.sort}" (click)="changeRadioItem(v)">
      <div class="lable-title">{{v.value}}</div>
    </div>
  </section>
  <footer>
    <div class="left">￥ {{radioStructure.price | price}}</div>
    <div class="right">
      <span class="shopping" (click)="radioAddCart()"><i class="fa fa-cart-plus"></i> 加入购物车</span>
    </div>
  </footer>
</div>

<!--多选-->
<div *ngIf="foodItem.type == '2'" class="standard-multi">
  <header>
    <div class="left">
      {{foodItem.name}}
    </div>
    <div class="right" (click)="close()">
      <i class="fa fa-times-circle" style="font-size: 1.4em"></i>
    </div>
  </header>
  <div class="name">多选：</div>
  <section>
    <div class="item" *ngFor="let v of foodItem.transformJson.list; let inx = index;" [ngClass]="{'active': tempMutilSelect.indexOf(v.value)!= -1}" (click)="changeMutilItem(v)">
      <div class="lable-title">{{v.value}}</div>
    </div>
  </section>
  <footer>
    <div class="left"><!--￥ {{itemType.price | price}}-->&nbsp;</div>
    <div class="right">
      <span class="shopping" (click)="mutilAddCart()"><i class="fa fa-cart-plus"></i> 加入购物车</span>
    </div>
  </footer>
</div>

<!--抽选-->
<div *ngIf="foodItem.type == '3'" class="standard-pump">
  <header>
    <div class="left">
      {{foodItem.name}}
    </div>
    <div class="right" (click)="close()">
      <i class="fa fa-times-circle" style="font-size: 1.4em"></i>
    </div>
  </header>
  <div class="name">抽选：</div>
  <section>
    <div class="item" *ngFor="let v of foodItem.transformJson.list; let inx = index;" [ngClass]="{'active': tempPumpSelect.indexOf(v.value)!= -1}" (click)="changePumpItem(v)">
      <div class="lable-title">{{v.value}}</div>
    </div>
  </section>
  <footer>
    <div class="left"><!--￥ {{itemType.price | price}}-->&nbsp;</div>
    <div class="right">
      <span class="shopping" (click)="pumpAddCart()"><i class="fa fa-cart-plus"></i> 加入购物车</span>
    </div>
  </footer>
</div>


